ehci: mx7: fix usbnc_regs
authorPeng Fan <[email protected]>
Mon, 20 Jun 2016 01:43:08 +0000 (09:43 +0800)
committerMarek Vasut <[email protected]>
Fri, 24 Jun 2016 22:57:09 +0000 (00:57 +0200)
There is a 4 bytes hole between phy_cfg2 and phy_status, fix the
usbnc_regs structure to include the hole.

Signed-off-by: Ye Li <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
drivers/usb/host/ehci-mx6.c

index bb48d0dea0a5849cbeb99412980bb74ef605ceb7..cc3b11ce4e481823d453479dbbaf2c41d924575f 100644 (file)
@@ -194,8 +194,9 @@ struct usbnc_regs {
        u32 reserve1[10];
        u32 phy_cfg1;
        u32 phy_cfg2;
+       u32 reserve2;
        u32 phy_status;
-       u32 reserve2[4];
+       u32 reserve3[4];
        u32 adp_cfg1;
        u32 adp_cfg2;
        u32 adp_status;